import {get,post,uploadImage} from './request.js'
/**************************登录模块************************/
// 发送短信
export const getSend = (data) => post(`/cloud/third/SMS/send`,data);
// 登录
export const getLogin = (data) => post(`/cloud/api/user/login`,data);
// 获取个人详情
export const getUserInfo = (data) => post(`/cloud/api/user/getUserInfo`,data);
/**************************收货地址列表模块************************/
export const getAddress = (data) => post(`/cloud/api/user/getAddressList`,data);
/**************************新增地址列模块************************/
export const getRess = (data) => post(`/cloud/api/user/addAddress`,data);
/**************************获取收获地址详情************************/
export const getAddressInfo = (data) => post(`/cloud/api/user/getAddressInfo`,data);
/**************************更新收货地址************************/
export const updAddress = (data) => post(`/cloud/api/user/updAddress`,data);
/**************************省市区获取************************/
export const getAreaList = (data) => post(`/cloud/third/area/areaList`,data);
/**************************删除收获地址************************/
export const getDelAddressInfo = (data) => post(`/cloud/api/user/delAddressInfo`,data);
// 获取首页数据
export const getHomePage = (data) => post(`/cloud/nft/homePage`,data);
// 盲盒列表分页获取
export const getGiftBoxList = (data) => post(`/cloud/nft/giftBoxList`,data);
// 藏品列表分页获取
export const getCollectionList = (data) => post(`/cloud/nft/collectionList`,data);
// 藏品详情
export const getCollectionDetail = (data) => post(`/cloud/nft/collectionDetail`,data);
// 更新个人详情
export const getUpdUserInfo = (data) => post(`/cloud/api/user/updUserInfo`,data);
// 盲盒详情
export const getGiftBoxDetail = (data) => post(`/cloud/nft/giftBoxDetail`,data);
// 积分藏品列表分页获取
export const getIntegralCollectList = (data) => post(`/cloud/nft/integralCollectList`,data);
// 拍卖品列表
export const getAuctionInfoList = (data) => post(`/cloud/api/auction/getAuctionInfoList`,data);
// 获取拍卖品详情
export const getAuctionInfo = (data) => post(`/cloud/api/auction/getAuctionInfo`,data);
// 获取最近成交的拍卖品
export const getAuctionSoldList = (data) => post(`/cloud/api/auction/getAuctionSoldList`,data);
// 获取兑换码列表
export const getExchangeList = (data) => post(`/cloud/api/exchange/exchangeList`,data);
// 查询兑换码
export const getExchangeQry = (data) => post(`/cloud/api/exchange/exchangeQry`,data);
// 获取拍卖品当前价格和是否支付了押金
export const getAuctionNewestPrice = (data) => post(`/cloud/api/auction/getAuctionNewestPrice`,data);
// 积分兑换藏品
export const getRedeem = (data) => post(`/cloud/nft/redeem`,data);
// 我的藏品
export const getMyCollection = (data) => post(`/cloud/nft/myCollection`,data);
// 我的藏品详情
export const getMyCollectionDetail = (data) => post(`/cloud/nft/myCollectionDetail`,data);
// 我的权益卡列表
export const getMyCardList = (data) => post(`/cloud/api/user/myCardList`,data);
// 权益卡列表
export const getCardList = (data) => post(`/cloud/api/user/cardList`,data);
// 兑换码详情
export const getExchangeDetail = (data) => post(`/cloud/api/exchange/exchangeDetail`,data);
// 合成权益卡
export const getUpgrade = (data) => post(`/cloud/api/user/upgrade`,data);
// 兑换兑换码
export const getExchange = (data) => post(`/cloud/api/exchange/exchange`,data);
// 实人认证初始化请求
export const initFaceVerify = (data) => post(`/cloud/third/face/h5/initFaceVerify`,data);
// 实人认证结果查询
export const describeFaceVerify = (data) => post(`/cloud/third/face/h5/describeFaceVerify`,data);
// 转赠藏品
export const handsel = (data) => post(`/cloud/nft/handsel`,data);
// H5支付宝生成参数
export const alipayH5Pre = (data) => post(`/cloud/third/pay/alipayH5Pre`,data);
// 生成二维码
export const qrCodeCreate = (data) => post(`/cloud/third/qrCode/create`,data);
// 购买藏品
export const collectionTrade = (data) => post(`/cloud/nft/collectionTrade`,data);
// 支付押金
export const deposit = (data) => post(`/cloud/api/auction/deposit`,data);
// 拍卖品竞价
export const auctionBid = (data) => post(`/cloud/api/auction/bid`,data);
// 根据外部订单号获取拍卖品详情
export const getByOutTradeNo = (data) => post(`/cloud/api/auction/getByOutTradeNo`,data);
// 我的竞拍
export const myAuction = (data) => post(`/cloud/api/auction/myAuction`,data);
// 一口价买断
export const buyout = (data) => post(`/cloud/api/auction/buyout`,data);
// 购买盲盒
export const buyGiftBox = (data) => post(`/cloud/nft/buyGiftBox`,data);
// 我的盲盒列表
export const myGiftBox = (data) => post(`/cloud/nft/myGiftBox`,data);
// 根据外部订单号获取订单详情
export const getOrderByOutTradeNo = (data) => post(`/cloud/api/auction/getOrderByOutTradeNo`,data);
// 打开盲盒
export const openGiftBox = (data) => post(`/cloud/nft/openGiftBox`,data);
// 实人认证结果查询(不修改用户实名状态)
export const describeFaceVerifyV2 = (data) => post(`/cloud/third/face/h5/describeFaceVerifyV2`,data);
// 支付宝退款转账
export const payTransfer = (data) => post(`/cloud/third/pay/transfer`,data);
// 我的提现记录
export const myWithdraw = (data) => post(`/cloud/api/user/myWithdraw`,data);





